package com.gagakuai.web.encript.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/*
 * @program: hx-decript-springboot-starter
 * @description: 提供给用户自定义配置
 * @author: houhong
 * @create: 2022-06-30 10:19
 */
@ConfigurationProperties(prefix = "gagakuai.secret")
public class GagakuaiEncryptProperties {

    //设置默认的key
    private final static String DEFAULT_KEY = "gagakuai.secret";

    private String key = DEFAULT_KEY;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

}